﻿using System;

namespace RabbitShop.UI
{
    public partial class Address : System.Web.UI.Page
    {
        protected string uid = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Cookies["RabbitShop"] != null)
            {
                string id = Request.Cookies["RabbitShop"].Values["Id"];
                if (string.IsNullOrEmpty(id)) Response.Redirect("UserLogon.aspx");
                uid = id;
            }
            else
            {
                Response.Redirect("UserLogon.aspx");
            }
        }
    }
}